/**
 * @program: yygh_parent
 * @ClassName YyghException
 * @description:
 * @author: zyw
 * @create: 2023-05-17 09:21
 * @Version 1.0
 **/
package com.atguigu.yygh.common.exception;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class YyghException extends RuntimeException {
    @ApiModelProperty(value = "状态码")
    private Integer code;
    private String msg;

}
 
